Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Not Found Error #68

Open
ghost opened this issue Oct 9, 2023 · 0 comments
Open

File Not Found Error #68

ghost opened this issue Oct 9, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 9, 2023


FileNotFoundError Traceback (most recent call last)
d:\NaMo\States\Uttar Pradesh\Codes[CM][UP] - Scoping.ipynb Cell 73 line 2
1 # indictrans setup
----> 2 trn = Transliterator(source = 'eng', target = 'hin', build_lookup = True)

File ~\AppData\Roaming\Python\Python310\site-packages\indictrans\transliterator.py:82, in Transliterator.init(self, source, target, decode, build_lookup, rb)
78 raise NotImplementedError(
79 'Language pair %s-%s is not implemented.' %
80 (source, target))
81 if source == 'eng':
---> 82 ru2i = Rom2Target(source, target, decoder, build_lookup)
83 else:
84 ru2i = Urd2Target(source, target, decoder, build_lookup)

File ~\AppData\Roaming\Python\Python310\site-packages\indictrans\script_transliterate.py:60, in Rom2Target.init(self, source, target, decoder, build_lookup)
59 def init(self, source, target, decoder, build_lookup=False):
---> 60 super(Rom2Target, self).init(source,
61 target,
62 decoder,
63 build_lookup)
64 self.non_alpha = re.compile(r"([^a-z]+)")
65 self.letters = set(string.ascii_letters[:26])

File ~\AppData\Roaming\Python\Python310\site-packages\indictrans\base.py:69, in BaseTransliterator.init(self, source, target, decoder, build_lookup)
...
79 (self.dist_dir, model),
80 encoding='latin1',
81 allow_pickle=True)[0]

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Admin\AppData\Roaming\Python\Python310\site-packages\indictrans/models/eng-hin/sparse.vec'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants